{include file="header.tpl" }
{literal}
<style type="text/css">
<!--
.style1 {color: #FF0000}
-->
</style>
{/literal}
<img src='{#t_images#}navi.gif' border=0 alt="">{$nav_link}<table width="100%">
<TR align=center bgcolor="#FFFFFF">
  <TD height="1"></TD>
  </TR>
</TABLE>
<table width="98%" border=0 cellspacing=0 cellpadding=0 align=center>
<tr>
<td width="170" height="50%" valign="top">{include file="left.tpl"}<!-- left start --></td>
<!-- left end -->
<td valign="top">
  {if $code eq "28"}
  <table width="98%" border="0" cellspacing="0" cellpadding="0" align=center>
    <tr>
      <td width="50%" valign=top>
        <table width="100%" border="0" cellspacing="3" cellpadding="0" class=i_table>
          <tr>
            <td>
              <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style='WORD-WRAP: break-word'>
                <tr class="head">
                  <td class="left_head"><div align="center"  >发布新广告</div></td>
                  <td><div align="center"><a href="index.php?act=Adver&code=30">管理已发布广告</a></div></td>
                </tr>
            </table></td>
          </tr>
      </table></td>
    </tr>
  </table>
  <br>
  <table width="98%" border="0" cellspacing="0" cellpadding="0" align=center>
    <tr>
      <td width="50%" valign=top>
        <table width="100%" border="0" cellspacing="3" cellpadding="0" class=i_table>
          <tr>
            <td>
              <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style='TABLE-LAYOUT: fixed;WORD-WRAP: break-word'>
                <tr>
                  <td valign="top"><table width="100%" border="0" align="center" cellspacing=1 cellpadding=3 bgcolor=#E7E3E7>
                      <form action="" method="post">
                        <tr class='f_one'>
                          <td width="128">广告标题</td>
                          <td width="412"><input name="ad[info_title]" type="text" id="ad[info_title]"></td>
                        </tr>
                        <tr class='f_one'>
                          <td><p>广告内容：</p></td>
                          <td width="412"><textarea name="ad[info_content]" cols="80" rows="10" class="form" id="ad[info_content]"></textarea></td>
                        </tr>
                        <tr>
                          <td><input name="submit223" type="submit" class="form" id="submit223" value="  发 布  "></td>
                          <td>
                            <input name="code" type="hidden" id="code4" value="29"></td>
                        </tr>
                      </form>
                  </table></td>
                </tr>
            </table></td>
          </tr>
      </table></td>
    </tr>
  </table>
  {elseif $code eq '30'}
  <table width="98%" border="0" cellspacing="0" cellpadding="0" align=center>
    <tr>
      <td width="50%" valign=top>
        <table width="100%" border="0" cellspacing="3" cellpadding="0" class=i_table>
          <tr>
            <td>
              <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style='WORD-WRAP: break-word'>
                <tr class="head">
                  <td><div align="center"><a href="index.php?act=Adver&code=28">发布新广告</a></div></td>
                  <td class="left_head"><div align="center"  >管理已发布广告</div></td>
                </tr>
            </table></td>
          </tr>
      </table></td>
    </tr>
  </table>
  <br>
  <table width="98%" border="0" cellspacing="0" cellpadding="0" align=center>
    <tr>
      <td width="50%" valign=top>
        <table width="100%" border="0" cellspacing="3" cellpadding="0" class=i_table>
          <tr>
            <td>
              <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style='TABLE-LAYOUT: fixed;WORD-WRAP: break-word'>
                <tr>
                  <td valign="top"><table width="100%" border="0" align="center" cellspacing=1 cellpadding=3 bgcolor=#E7E3E7>
                      <tr class='f_one'>
                        <td width="671">广告标题</td>
                        <td width="207">更新时间</td>
                        <td width="217">&nbsp;</td>
                      </tr>
                    {section name=key loop=$adl}
                    <tr class='f_one'>
                      <td>{$adl[key][0]}</td>
                      <td>{$adl[key][1]} </td>
                      <td width="217"><div align="center"><a href="index.php?act=Adver&code=31&AID={$adl[key][2]}">修改</a> | <a href="index.php?act=Adver&code=33&AID={$adl[key][2]}">提前</a> | <a href="index.php?act=Adver&code=34&AID={$adl[key][2]}" onclick="return confirmDel('是否删除广告?')">删除</a></div></td>
                    </tr>
                    {/section}
                  </table></td>
                </tr>
            </table></td>
          </tr>
      </table></td>
    </tr>
  </table>
  {elseif $code eq '31'}
  <table width="98%" border="0" cellspacing="0" cellpadding="0" align=center>
    <tr>
      <td width="50%" valign=top>
        <table width="100%" border="0" cellspacing="3" cellpadding="0" class=i_table>
          <tr>
            <td>
              <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style='TABLE-LAYOUT: fixed;WORD-WRAP: break-word'>
                <tr>
                  <td valign="top"><table width="100%" border="0" align="center" cellspacing=1 cellpadding=3 bgcolor=#E7E3E7>
                      <form action="" method="post">
                        <tr class='f_one'>
                          <td width="128">广告标题</td>
                          <td width="412"><input name="ad[info_title]2" type="text" id="ad[info_title]" value="{$ad.info_title}"></td>
                        </tr>
                        <tr class='f_one'>
                          <td><p>广告内容：</p></td>
                          <td width="412"><textarea name="ad[info_content]" cols="80" rows="10" class="form" id="textarea2">{$ad.info_content}</textarea></td>
                        </tr>
                        <tr>
                          <td><input name="submit2232" type="submit" class="form" id="submit2232" value="  回 复  "></td>
                          <td>
                            <input name="code" type="hidden" id="code5" value="32">
                            <input name="AID" type="hidden" id="AID" value="{$ad.id}"></td>
                        </tr>
                      </form>
                  </table></td>
                </tr>
            </table></td>
          </tr>
      </table></td>
    </tr>
  </table>
  {else}
  <table width="98%" border="0" cellspacing="0" cellpadding="0" align=center>
    <tr>
      <td width="50%" valign=top>
        <table width="100%" border="0" cellspacing="3" cellpadding="0" class=i_table>
          <tr>
            <td>
              <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style='WORD-WRAP: break-word'>
                <tr class="head">
                  <td height="51"><img src="{#t_images#}hint.gif" width="32" height="32">欢迎登陆<b><A href="">{$html_title}</A></b>，请在左边选择您的操作</td>
                </tr>
                <tr>
                  <td height="113" valign="top"><br>
                  您上次登陆时间是：{$seller.seller_last_time|date_format:"%Y-%m-%d"}<br>
                  <br>
                  {$prop}<br>
                  <br>
                  {if not $notice} 您目前开了<font color="#FF0000">{$snum}</font>个商铺，共登陆<font color="#FF0000">{$gnum}</font>件商品，点击[<a href="index.php?act=Adver&code=16"><font color="#FF0000">这里</font></a>]管理商品。<br>
                                    <br>
                  您目前有<font color="#FF0000">{$mnum}</font>条新的留言未回复，点击[<a href="index.php?act=Adver&code=16"><font color="#FF0000">这里</font></a>]回复消息<br>
                  <br>
                  同时，我们还为您准备了个性域名为“<a href="http://{$seller.seller_logaccount}.{$domain}/" title="点击进入商家的个人主页(此个人主页列出商家所有店铺信息！)" target='_blank'><font color="#FF0000">http://{$seller.seller_logaccount}.{$domain}/</font></a>”便于推广您的商业{else} {$notice}{/if}</td>
                </tr>
            </table></td>
          </tr>
      </table></td>
    </tr>
  </table>
  {/if}<br></td><!-- right end -->
</tr>
</table><table width="100%">
<TR align=center bgcolor="#FFFFFF">
  <TD height="1"></TD>
  </TR>
</TABLE>
{include file="Info.tpl"}<table width="100%">
<TR align=center bgcolor="#FFFFFF">
  <TD height="1"></TD>
  </TR>
</TABLE>
</td></tr></table>
{include file="footer.tpl"}